import request from '@/utils/request';

const baseModule = '/user';

/**
 * 查询用户列表
 * @param name 参数
 * @returns {Promise<AxiosResponse<T>>}
 */
export const getListPage = (params) => {
  return request({
    url: `${baseModule}/list`,
    method: 'post',
    data: params,
  });
};
